package compilers.symbolTable;

import compilers.AST.types.TypeSpecifier;

public class SymbolTableTypeElement extends SymbolTableElement {

	public SymbolTableTypeElement(String identifier, TypeSpecifier type, int nodeId, int lineNr) {
		fIdentifier = identifier;
		fType = type;
		fNodeId = nodeId;
		fLineNr = lineNr;
	}
	
	public void print(int identLevel) {
		String result = "Type (" + fIdentifier + ", " + fType.getTypeName();
		result += ")";
		println(identLevel, result);
	}
}
